<%@page import="com.situ.mvc.entity.User"%>
<%@page import="com.situ.mvc.entity.PageBean"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.situ.mvc.entity.Student"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="lib/bootstrap-3.3.7-dist/css/bootstrap.css"/>
</head>
<body>
	<a href="${pageContext.request.contextPath}/online_user_list.jsp" class="btn btn-success">在线用户列表</a>
	欢迎：${user.name}
	<a href="/JAVA_WEB_1907/loginServlet?method=logout">注销</a>
	<table class="table table-striped table-bordered table-hover table-condensed">
		<tr>
			<td>ID</td>
			<td>名字</td>
			<td>年龄</td>
			<td>性别</td>
			<td>班级名称</td>
		</tr>
		<c:forEach items="${list}" var="map">
			<tr>
				<td>${map['id']}</td>
				<td>${map['name']}</td>
				<td>${map['age']}</td>
				<td>${map['gender']}</td>
				<td>${map['banjiName']}</td>
			</tr>
		</c:forEach>
		
	</table>
	 <script src="js/jquery-1.11.3.js" type="text/javascript" charset="utf-8"></script>
    <script src="lib/layer/layer.js" type="text/javascript" charset="utf-8"></script>
    <script src="lib/mylayer.js" type="text/javascript" charset="utf-8"></script>
    <script src="lib/util.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>